﻿@model SocialNetwork.Models.FotoModel
@using SocialNetwork.Infrastructure;
<link rel='stylesheet' type='text/css' href='../../Style/style.css' />
<!--[if IE]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
@foreach (var album in Model.Albums)
{
    @album.Title
    <br />
    int tabindex = 1;
    <div id="page-wrap">
        <section class="image-gallery group">
        @foreach (var photo in album.Photo)
        {
		<figure tabindex=@tabindex>      
			 @Html.Image(photo.Path)
			<figcaption>@photo.Title</figcaption>
		</figure>
            tabindex += 1;

        }
        </section></div>
   
    <br />
    
}